﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreWeb.Utility.Allocation
{
    public class AllocationService
    {
        private readonly IConfiguration _configuration;

        public AllocationService(IConfiguration configuration)
        {
            _configuration = configuration;
            var someValue = _configuration["SomeKey"]; // 读取配置值
        }
    }
}
